package com.zhihui.qi_mai.web.dao;

import com.zhihui.qi_mai.web.dao.pojo.Permission;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PermissionMapper {
    Permission selectByPrimaryKey(Integer id);

    int insertSelective(Permission record);

    int updateByPrimaryKeySelective(Permission record);

    int deleteByPrimaryKey(Integer id);

    List<Permission> selectByCondition(Permission record);

    List<Permission> selectAll();

    int deleteBySelective(Permission record);

    int updateBySelectiveWithIds(@Param("record") Permission record, @Param("list") List<Integer> ids);
}